import Vue from 'vue'
import Vuex from 'vuex'


Vue.use(Vuex)

const store=new Vuex.Store({
    state: {
      loginInfo: {
         isLogin: false,
      }
    },
    getters: {

    },
    mutations: {
      setIsLogin(state,payload) {
         state.loginInfo.isLogin = payload;
      },
    },
    actions: {
      
    },
    modules: {
      
    }
})

export default store